import Vue from 'vue'
import Router from 'vue-router'
// import store from '../store'

Vue.use(Router)
//配置路由

const router = new Router({
  routes: [{
      path: '/', //访问路径
      name: 'home', //路由名
      component: () => import('@/components/Home') //路由需要的组件
    },
    {
      path: '/hello', //访问路径
      name: 'hello', //路由名
      component: () => import('@/components/hello') //路由需要的组件
    }
  ]

})
export default router
